$OpenBSD: patch-applets_kimpanel_backend_scim_CMakeLists_txt,v 1.1.1.1 2013/04/24 18:40:19 zhuk Exp $
Filed as upstream bug 292007
--- applets/kimpanel/backend/scim/CMakeLists.txt.orig	Thu Jan 19 19:41:33 2012
+++ applets/kimpanel/backend/scim/CMakeLists.txt	Thu Jan 19 19:42:14 2012
@@ -5,7 +5,7 @@ if(SCIM_FOUND)
     configure_file(config-scim.h.cmake config-scim.h)
     set(kimpanel_scim_panel_SRCS main.cpp)
     qt4_generate_moc(${kimpanel_scim_panel_SRCS} ${CMAKE_CURRENT_BINARY_DIR}/main.moc)
-    add_executable(kimpanel-scim-panel ${kimpanel_scim_panel_SRCS})
+    add_executable(kimpanel-scim-panel ${kimpanel_scim_panel_SRCS} ${CMAKE_CURRENT_BINARY_DIR}/main.moc)
     target_link_libraries(kimpanel-scim-panel ${QT_QTCORE_LIBRARY} ${QT_QTDBUS_LIBRARY} ${SCIM_LIBRARIES})
     install(TARGETS kimpanel-scim-panel DESTINATION ${LIBEXEC_INSTALL_DIR})
 endif(SCIM_FOUND)
